
    function jQueryFnInit(ele){
        let eles = []
        if (typeof ele ==='object'){
            eles=[ele]
        }else{
            eles=document.querySelectorAll(ele)
        }
        for(let i =0;i<eles.length;i++){
            this[i]=eles[i]
        }
        this.length=eles.length
    }

    jQueryFnInit.prototype.a = function () {}
    jQueryFnInit.prototype.b = function () {}
    jQueryFnInit.prototype.c = function () {}

    function $(ele){
        return new jQueryFnInit(ele)
    }